<?php

	// TITLE: address
	// FILE: scaffolding/list/address.php
	// AUTHOR: AUTOGEN
	// CREATED: 2015/04/20 07:49:54
	// DESCRIPTION: 
	// REQUIREMENTS: 

?>
<h2>address</h2>
<hr>
<table>
	<thead>
		<tr>
			<th>id</th>
			<th>street_1</th>
			<th>street_2</th>
			<th>street_3</th>
			<th>city</th>
			<th>state_id</th>
			<th>zip_code</th>
		</tr>
	</thead>
	<tbody>
	<?php foreach ($fields as $field)  { ?>
		<tr onclick="goto('<?php echo $address->getId(); ?>');">
			<td><?php echo $address->getId(); ?></td>
			<td><?php echo $address->getStreet1(); ?></td>
			<td><?php echo $address->getStreet2(); ?></td>
			<td><?php echo $address->getStreet3(); ?></td>
			<td><?php echo $address->getCity(); ?></td>
			<td><?php echo $address->getStateId(); ?></td>
			<td><?php echo $address->getZipCode(); ?></td>
		</tr>
	<?php } ?>
	</tbody>
</table>
